package com.colorlight.cloud.complete.entity.po;

import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class RelayMonitor implements Trans<RelayMonitor, CompleteEntity.RelayMonitor> {

    /**
     * 是否启用温度监控源
     */
    private Boolean temperature;

    /**
     * 是否启用烟雾监控源
     */
    private Boolean smoke;

    /**
     * 是否上位机信号监控源
     */
    private Boolean videoSignal;

    /**
     * 是否使用外部探头
     */
    private Boolean useExternalSensor;

    /**
     * 是否到达阈值后闭合继电器
     */
    private Boolean onWhenReachThreshold;

    /**
     * 当温度降下来时，是否反向操作继电器
     */
    private Boolean invertWhenTemperatureDropToNormal;
}

